package com.wteam.service;

import com.wteam.PoJo.DTO.memberdto;
import com.wteam.PoJo.VO.*;
import com.wteam.untils.Result;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface MemberService {
    void save(member member) throws Exception;

    Result list(login login);

    String upload(MultipartFile file) throws IOException;

    Result savewallet(walletPassword walletPassword);

    Result savemoney(money money);

//    Result savepoint();

    Result selectMyCopon();

    Result AddAddress(regionvo regionvo);

    Result listAddress();

    Result updateAddress(Integer id);

    Result SharePoint(Integer point);

    Result signpoint();

    Result selectsign();

    Result<memberpoint> selectMypoint();

    Result<memberdto> selectMybody();

    Result<fixmybody> fixmybody(fixmybody fixmybody);
}
